package cn.birdbaby.plugins.annotator;

import com.intellij.psi.PsiDirectory;
import com.intellij.psi.PsiElement;
import com.intellij.psi.PsiFile;
import lombok.Builder;

import java.util.Arrays;
import java.util.List;

/**
 * @author llorando 9/8/24 12:28 pm
 */
public class AnnotateTask {
    private PsiElement psiElement;

    private List<PsiElement> psiElements;

    public AnnotateTask(PsiElement psiElement){
        if(psiElement instanceof PsiFile){
            psiElements= Arrays.asList(psiElement);
        }else if(psiElement instanceof PsiDirectory){

        }
    }
}
